.class public Lcom/vlingo/client/asr/service/VLRecognitionResult;
.super Ljava/lang/Object;
.source "VLRecognitionResult.java"

# interfaces
.implements Landroid/os/Parcelable;


# static fields
.field public static final AUDIO_ERROR:I = 0x3

.field public static final AUDIO_TOO_SHORT:I = 0x9

.field public static final CLIENT_ERROR:I = 0x5

.field public static final CREATOR:Landroid/os/Parcelable$Creator; = null
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroid/os/Parcelable$Creator",
            "<",
            "Lcom/vlingo/client/asr/service/VLRecognitionResult;",
            ">;"
        }
    .end annotation
.end field

.field public static final NETWORK_ERROR:I = 0x2

.field public static final NETWORK_TIMEOUT:I = 0x1

.field public static final NO_MATCH:I = 0x7

.field public static final SERVER_ERROR:I = 0x4

.field public static final SERVICE_BUSY:I = 0x8

.field public static final SPEECH_TIMEOUT:I = 0x6


# instance fields
.field public final mText:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 54
    new-instance v0, Lcom/vlingo/client/asr/service/VLRecognitionResult$1;

    invoke-direct {v0}, Lcom/vlingo/client/asr/service/VLRecognitionResult$1;-><init>()V

    sput-object v0, Lcom/vlingo/client/asr/service/VLRecognitionResult;->CREATOR:Landroid/os/Parcelable$Creator;

    return-void
.end method

.method private constructor <init>(Landroid/os/Parcel;)V
    .locals 1
    .parameter "in"

    .prologue
    .line 77
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 78
    invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/vlingo/client/asr/service/VLRecognitionResult;->mText:Ljava/lang/String;

    .line 79
    return-void
.end method

.method synthetic constructor <init>(Landroid/os/Parcel;Lcom/vlingo/client/asr/service/VLRecognitionResult$1;)V
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 24
    invoke-direct {p0, p1}, Lcom/vlingo/client/asr/service/VLRecognitionResult;-><init>(Landroid/os/Parcel;)V

    return-void
.end method

.method private constructor <init>(Ljava/lang/String;)V
    .locals 0
    .parameter "phrase"

    .prologue
    .line 73
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 74
    iput-object p1, p0, Lcom/vlingo/client/asr/service/VLRecognitionResult;->mText:Ljava/lang/String;

    .line 75
    return-void
.end method

.method public static newVLRecognitionResult(Ljava/lang/String;)Lcom/vlingo/client/asr/service/VLRecognitionResult;
    .locals 1
    .parameter "phrase"

    .prologue
    .line 51
    new-instance v0, Lcom/vlingo/client/asr/service/VLRecognitionResult;

    invoke-direct {v0, p0}, Lcom/vlingo/client/asr/service/VLRecognitionResult;-><init>(Ljava/lang/String;)V

    return-object v0
.end method


# virtual methods
.method public describeContents()I
    .locals 1

    .prologue
    .line 92
    const/4 v0, 0x0

    return v0
.end method

.method public toString()Ljava/lang/String;
    .locals 2

    .prologue
    .line 87
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "[text="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/vlingo/client/asr/service/VLRecognitionResult;->mText:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "]"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public writeToParcel(Landroid/os/Parcel;I)V
    .locals 1
    .parameter "out"
    .parameter "flags"

    .prologue
    .line 82
    iget-object v0, p0, Lcom/vlingo/client/asr/service/VLRecognitionResult;->mText:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 83
    return-void
.end method
